<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>改变文件上传</title>
	</head>

	<body>
		<div>
			<a href="javascript:void(0)" onclick="myfile.click();">浏览文档</a>
			<!--<input name="button" type="button" id="btn1" value="浏览文档" />-->
			<input type="file" id="myfile" onchange="input1.value=this.value" style="display:none">
			<input type="text" id="input1" />
		</div>
	</body>

</html>